package weaver.interfaces.gyxy.rabbitmq;

import weaver.interfaces.gyxy.rabbitmq.util.SendMessagesUtil;

/**
 * TODO
 *
 * @author 1305
 * @date 2021/2/2 15:44
 */
public class TestSender {

    public static void main(String[] args) {
        SendMessagesUtil sendMessagesUtil = new SendMessagesUtil();
        for(int i =0;i<1;i++) {
            //发送任务
			//String[] sprs = new String[]{"02","03"};
            //sendMessagesUtil.sendProcessTask("1001demo","task1","请假申请-管理员-2021-02-01 15:41:00","/platform/bpm/task/toStart.ht?taskId=100000019526410",sprs,"/platform/bpm/processRun/processImage.ht?actInstId=1000000019760075",
            //        "审批1","辅导员","1","1","1","1","/platform/bpm/processRun/info.ht?prePage=myRequest&link=1&runId=100000019731092","2021-02-01 15:41:00");
            //发送实例
//           String result = sendMessagesUtil.sendProcessInstance("1001demo","qjsq","请假申请","请假申请-管理员-2021-02-01 15:41:00","2021-02-01 15:41:00","1天",
//                    "admin","/platform/bpm/processRun/info.ht?prePage=myRequest&link=1&runId=100000019731092","demo","1","1","1","/platform/bpm/processRun/info.ht?prePage=myRequest&link=1&runId=100000019731092","2021-02-01 15:41:00");
//            System.out.println(result);
        }
    }


}
